#!/usr/bin/env sh
if [ ! -d "$messagePath" ];then
mkdir -p $messagePath
fi

./echoMessage.sh '正在初始化,'
while true; do
	 curl -X PUT  \
        -F message=@$messagePath/message-${BUILD_NUMBER} \
        "$callback_url/status"
	sleep 1
done